/*
 * point.h
 *
 *  Created on: 5 Nov 2009
 *      Author: Marc Pluhar <marc.pluhar@stud.hs-esslingen.de>
 */

#pragma once
#ifndef POINT_H_
#define POINT_H_

#include <stdio.h>
#include "list.h"

typedef struct {
	double x;		/* 2-dimensional Point with X and Y cordinates */
	double y;
} Point;

void Point_print(const Point*);
void Point_printList(const List*);
void Point_add(List*, const double, const double);
/* Wohin soll der Punkt?
 * Welche Koordinaten hat der Punkt? (X, Y)
 */
void Point_append(List*, const Point);

#endif /* POINT_H_ */
